<template>
    <div>
        <h1>App</h1>
        <button @click="globalTitle = 'hello App'">set</button>
        {{ globalTitle }}
        <Home></Home>
        <Cart></Cart>

    </div>
</template>
<script>
export default {
    data() {
        return {
            flag: true,
            comName: "Home",
        }
    },
    methods: {
        log(e) {
            console.log(e);
        }
    }
}
</script>
<style>
div {
    border: solid;
    padding: 10px;
}
</style>